package cn.itsource.pethome.basic.service;

import cn.itsource.pethome.basic.query.BaseQuery;
import cn.itsource.pethome.utils.PageResult;

import java.util.List;

public interface IBaseService<T> {
    void save(T t);

    void update(T t);

    void delete(Long id);

    T loadById(Long id);

    List<T> loadAll();


    PageResult<T> selectByPage(BaseQuery query);

    void deletes(Long[] ids);
}
